$(document).ready(function() {
  //settings
  var opacity = 0.7, toOpacity = 0.9, duration = 250;
  //set opacity ASAP and events
  $('.opacity1').css('opacity',opacity).hover(function() {
      $('.opacity1').fadeTo(duration,toOpacity);
    }, function() {
      $('.opacity1').fadeTo(duration,opacity);
    }
  );
  
    //settings
  var opacity = 0.7, toOpacity = 0.9, duration = 250;
  //set opacity ASAP and events
  $('.opacity2').css('opacity',opacity).hover(function() {
      $('.opacity2').fadeTo(duration,toOpacity);
    }, function() {
      $('.opacity2').fadeTo(duration,opacity);
    }
  );

  //settings
  var opacity = 0.7, toOpacity = 0.9, duration = 250;
  //set opacity ASAP and events
  $('.opacity3').css('opacity',opacity).hover(function() {
      $('.opacity3').fadeTo(duration,toOpacity);
    }, function() {
      $('.opacity3').fadeTo(duration,opacity);
    }
  );

  
});

